﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dispatch.Receive
{
    internal class AgvEvent
    {
        internal static byte[] Traffic(int AgvID,bool Stop)
        {
            return new byte[8];
        }
        internal static byte[] GoRoute(int AgvID,int RouteID)
        {
            return new byte[8];
        }


        internal static byte[] TransUp(int AgvID, bool ISReceive)
        {
            return new byte[8];
        }

        internal static byte[] TransDown(int AgvID, bool ISReceive)
        {
            return new byte[8];
        }


        /// <summary>
        /// 同时上下传输
        /// </summary>
        /// <param name="AgvID"></param>
        /// <param name="UpOut">AGV是否上层出料</param>
        /// <returns></returns>
        internal static byte[] TransBoth(int AgvID, bool UpOut)
        {
            return new byte[8];
        }

        /// <summary>
        /// 传输正常完成
        /// </summary>
        /// <param name="AgvID"></param>
        /// <returns></returns>
        internal static byte[] TransFinish(int AgvID )
        {
            return new byte[8];
        }

        /// <summary>
        /// 传输过程中要求停止
        /// </summary>
        /// <param name="AgvID"></param>
        /// <returns></returns>
        internal static byte[] TransStop(int AgvID)
        {
            return new byte[8];
        }
         


        /// <summary>
        /// 解析AGV传输过来的指令
        /// </summary>
        /// <param name="Data"></param>
        /// <returns></returns>
        internal static AgvReceiveData? ResolveData( byte[] Data)
        {
            return null;
        }
    }

   
}
